package admin

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type QuestionAnswersAdminController struct {
	auto.QuestionAnswersController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/:id", 		&QuestionAnswersAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/info", 		&QuestionAnswersAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/scan", 		&QuestionAnswersAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/list", 	    &QuestionAnswersAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/update", 	&QuestionAnswersAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/create", 	&QuestionAnswersAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/copy", 	    &QuestionAnswersAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/edit", 	    &QuestionAnswersAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/delete", 	&QuestionAnswersAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/:id/:field", &QuestionAnswersAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/choice", &QuestionAnswersAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/QuestionAnswers/category", &QuestionAnswersAdminController{}, "*:CategoryAction")
}
//func (this *QuestionAnswersAdminController) Prepare() {}
//func (this *QuestionAnswersAdminController) ListAction() {}
//func (this *QuestionAnswersAdminController) GetAction() {}
//func (this *QuestionAnswersAdminController) InfoAction() {}
//func (this *QuestionAnswersAdminController) ScanAction() {}
//func (this *QuestionAnswersAdminController) CreateAction() {}
//func (this *QuestionAnswersAdminController) UpdateAction() {}
//func (this *QuestionAnswersAdminController) CopyAction() {}
//func (this *QuestionAnswersAdminController) DeleteAction() {}
//func (this *QuestionAnswersAdminController) EditAction() {}
//func (this *QuestionAnswersAdminController) SonsAction() {}
//func (this *QuestionAnswersAdminController) ChoiceAction() {}
//func (this *QuestionAnswersAdminController) CategoryAction() {}
